Securing Your Installation
Securing your DAI installation involves configuring DAI settings as well as the environment where it runs. Considerations for each are provided in the following sections:
While threats to security are an ever-evolving challenge, this page provides considerations and information about methods you can use to help secure your DAI installation.
Deploying to a Secure Environment
Eggplant agents and processes require permission to launch system under test (SUT) connections, run tests, and capture file-based logs. We recommend you adhere to the principle of least privilege and avoid granting unnecessary permission, or a level of permission that is too permissive, for system users, network access, and file systems.
If you choose to install the DAI Run Agent as a Windows service, we strongly recommend that you use an appropriate user account with limited permissions, instead of the default Local System account.
For information about securing Eggplant Functional, which is a component of DAI, please see the Security Baseline Guidelines.
The security implemented in your company is also a layer of security for your DAI installation. Network firewalls, user access management, and operating system security features all help secure your company's systems. Following are some company security measures that also improve your DAI installation security.
Use a Firewall
Your company's firewalls provide security by restricting incoming and outgoing traffic on the network.
The DAI Server will need to be allowed through your firewall. See Be Aware of Port Usage below for more information.
Control User Access
Your company IT department secures the network and systems, including the machines where you will install and run DAI, by managing user access. DAI also provides user account management and controls access to its assets using roles. See DAI's Built-In User and Access Management for more information. If your company uses an identity provider for user account management, such as Microsoft Entra ID, you can integrate it with DAI. While the purpose of this integration is to enable single sign-on (SSO) authentication for the convenience of DAI users, it also centralizes user account management in the identity provider. See Enable SSO in DAI below for more information about this integration.
Encrypt the Drive Where DAI Is Installed
If your DAI installation is an on-premises ("on-prem") Windows installation, consider encrypting the hard drive of the system where you plan to install DAI. This prevents anyone who does not have the appropriate key or password from accessing the drive.
Configuring DAI for Optimal Security
The following topics describe ways to configure DAI for improved security in your installation.
Upgrade to the Latest DAI Version
Keeping your DAI installation at the latest version ensures you have the latest security updates available in DAI. See the DAI Downloads page for the latest version available. You can find a list of updates in the Release Notes for each release.
Choose Secure Installation and Configuration Options
The following security-related configuration options require you to perform an "Advanced" installation, or modify your DAI configuration after installation. Because setting these options can impact DAI operation, please contact our Customer Support with any questions or for assistance.
Security Option | Description |
---|---|
Configure DAI to Use HTTPS with SSL | For Windows on-prem installations: You should configure DAI to use HTTPS with Secure Sockets Layer (SSL) internet security protocol during installation by running an "Advanced Install". Configuring DAI to use HTTPS requires a trusted certificate and a PEM format SSL key. See Run an Advanced Install and Add Settings for Self-Signed SSL Secure Certificates for more information. |
Configure DAI Containers to use TLS certificates | For Container deployments: Using TLS certificates is mandatory. You should configure DAI to use Transport Layer Security (TLS) as described in Configuring TLS. |
Encrypt the DAI Message Broker Communications | DAI embeds the RabbitMQ message broker to handle communications among its components. You can configure DAI to encrypt these communications by specifying variables in the DAI configuration file. See Encrypt RabbitMQ Communications for more information. |
Secure the DAI SMTP Server Connection | Because the connection to your SMTP server is likely to be on a different machine from your DAI Server, you should configure DAI to use a secure connection to your SMTP server. See SMTP Settings for options. |